Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AddPresentationStateImageReference(String,Int32[],Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class > AddPresentationStateImageReference Method : AddPresentationStateImageReference(String,Int32[],Int32) Method




imageFileName
Character string that contains the file name of the image(SOP Instance) to be referenced.
frameNumbers
An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
framesCount
Value that represents the number of frames being set.
Adds a new item to the "Referenced Image Sequence" under the "Presentation State Module".

Syntax

Visual Basic (Declaration) 
Overloads Public Sub AddPresentationStateImageReference( _
   ByVal imageFileName As String, _
   ByVal frameNumbers() As Integer, _
   ByVal framesCount As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim imageFileName As String
Dim frameNumbers() As Integer
Dim framesCount As Integer
 
instance.AddPresentationStateImageReference(imageFileName, frameNumbers, framesCount)
C# 
public void AddPresentationStateImageReference( 
   string imageFileName,
   int[] frameNumbers,
   int framesCount
)
Managed Extensions for C++ 
public: void AddPresentationStateImageReference( 
   string* imageFileName,
   int[] frameNumbers,
   int framesCount
) 
C++/CLI 
public:
void AddPresentationStateImageReference( 
   String^ imageFileName,
   array<int> frameNumbers,
   int framesCount
) 

Parameters

imageFileName
Character string that contains the file name of the image(SOP Instance) to be referenced.
frameNumbers
An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
framesCount
Value that represents the number of frames being set.

Example

For an example, refer to SetPresentationStateInformation.

Remarks

This method will add a new item into the "Referenced Image Sequence" (0008,1140) under the "Presentation State Module", by passing the file name of the image (SOP Instance) to be referenced.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features